package com.younion.vo;

import java.util.Date;

import cpcns.component.common.base.BaseVO;
import cpcns.persister.converter.IDomainObject;
import cpcns.persister.service.CompositeID;


 
public class NotificationTaskLogVO extends BaseVO implements IDomainObject,Cloneable{

	/**  */
	private static final long serialVersionUID = -1L;

 
	private Integer id;

 
	private MembercardServiceVO service;

	 
	private Date taskTime;

 
	private Date sendTime;
	
	private MsgTemplateVO template;
	private MemberCardVO memberCard;
	private Date lttaskTime;
	private Date gttaskTime;
	private Date ltsendTime;
	private Date gtsendTime;
	private Integer memberCardId;
	private String memberName;
	/**
	 * 
	 */
	public NotificationTaskLogVO() {
	}

	public NotificationTaskLogVO(MembercardServiceVO service, Date taskTime,
			Date sendTime,MemberCardVO memberCard,MsgTemplateVO template) {
		super();
		this.service = service;
		this.taskTime = taskTime;
		this.sendTime = sendTime;
		this.memberCard = memberCard;
		this.template = template;
	}

	/** 
	 * @return the id
	 */ 
	public Integer getId() {
		return id;
	}

	/** 
	 * @param id the id to set 
	 */ 
	public void setId(Integer id) {
		this.id = id;
	}

	/** 
	 * @return the serviceId
	 */ 

	/** 
	 * @return the taskTime
	 */ 
	public Date getTaskTime() {
		return taskTime;
	}

	/** 
	 * @param taskTime the taskTime to set 
	 */ 
	public void setTaskTime(Date taskTime) {
		this.taskTime = taskTime;
	}

	/** 
	 * @return the sendTime
	 */ 
	public Date getSendTime() {
		return sendTime;
	}

	/** 
	 * @param sendTime the sendTime to set 
	 */ 
	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public CompositeID getCompositeID(){
		CompositeID _id = super.getCompositeID();
		_id.clear();
		if(id != null){
			_id.addKey("id", id);
		}
		return _id;
	}

	public MembercardServiceVO getService() {
		return service;
	}

	public void setService(MembercardServiceVO service) {
		this.service = service;
	}

	public MsgTemplateVO getTemplate() {
		return template;
	}

	public void setTemplate(MsgTemplateVO template) {
		this.template = template;
	}

	public MemberCardVO getMemberCard() {
		return memberCard;
	}

	public void setMemberCard(MemberCardVO memberCard) {
		this.memberCard = memberCard;
	}

	public Date getLttaskTime() {
		return lttaskTime;
	}

	public void setLttaskTime(Date lttaskTime) {
		this.lttaskTime = lttaskTime;
	}

	public Date getGttaskTime() {
		return gttaskTime;
	}

	public void setGttaskTime(Date gttaskTime) {
		this.gttaskTime = gttaskTime;
	}

	public Date getLtsendTime() {
		return ltsendTime;
	}

	public void setLtsendTime(Date ltsendTime) {
		this.ltsendTime = ltsendTime;
	}

	public Date getGtsendTime() {
		return gtsendTime;
	}

	public void setGtsendTime(Date gtsendTime) {
		this.gtsendTime = gtsendTime;
	}

	public Integer getMemberCardId() {
		return memberCardId;
	}

	public void setMemberCardId(Integer memberCardId) {
		this.memberCardId = memberCardId;
	}

	public String getMemberName() {
		return memberName;
	}

	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}
	
}
